package cn.codinglives.demo.logistic.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LogisticController {

    private final static Logger logger = LoggerFactory.getLogger(LogisticController.class);


    @GetMapping("/logistic/delivery")
    public String delivery(String orderId) {
        logger.info("delivery: order id ....{}", orderId);
        return "ok";
    }
}
